<template>
  <van-list :finished="finished" finished-text="没有更多了">
    <van-cell @click="cellClick(item)" v-for="item in arr" :key="item" :title="item" />
  </van-list>
</template>

<script>
export default {
  props: ['arr'],
  data () {
    return {
      finished: true
    }
  },
  methods: {
    cellClick (item) {
      this.$emit('cellClick', item)
    }
  }
}
</script>

<style>
</style>
